<script type="text/javascript">
var fieldMsg = {
	name: "请输入品名",
	variety: "请输入品种",
	seller: "请输入销售商",
	method: "请输入种植方法介绍"      
};
</script>

<form id="adminForm" name="adminForm" method="POST">
<fieldset>
	<div style="float: right;">
				<button onclick="saveForm(this.form);" type="submit" class="submit">
					保存</button>
				<button onclick="window.parent.document.getElementById('sbox-window').close();" type="button">
					取消</button>
	</div>
	<div class="configuration">
				新增植物			
	</div>
</fieldset>
<fieldset class="adminform">
<legend>新增植物</legend>
<table class="admintable">
	<tbody>
		<tr>
			<td width="170" class="key">
				<label for="name">
					品名:
				</label>
			</td>
			<td>
				<input type="text" value="" size="30" id="name" name="name" class="inputbox required" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td width="170" class="key">
				<label for="variety">
					品种:
				</label>
			</td>
			<td>
				<input type="text" value="" size="30" id="variety" name="variety" class="inputbox required" maxlength="20"/> 
			</td>
		</tr>
		
		<tr>
			<td width="170" class="key">
				<label for="seller">
					销售商:
				</label>
			</td>
			<td>
				<input type="text" value="" size="30" id="seller" name="seller" class="inputbox required" maxlength="20" />
			</td>
		</tr>

		<tr>
			<td width="170" class="key">
				<label for="method">
					种植方法介绍:
				</label>
			</td>
			<td>
				<input type="text" value="" size="30" id="method" name="method" class="inputbox required" maxlength="20"/>
			</td>
		</tr>
		
		
		
		<tr>
			<td valign="top" class="key">
				<label for="comment">
					备注:
				</label>
			</td>
			<td>
				<textarea id="comment" name="comment" rows="3" cols="30" class="inputbox"></textarea>
			</td>
		</tr>
	</tbody>
</table>
</fieldset>
<input type="hidden" name="option" value="com_farm" />
<input type="hidden" name="task" value="savePlant" />
<input type="hidden" name="controller" value="base" />
</form>